package com.lh.music.api;

/**
 * Created by a on 2016/12/14.
 */

public class Api {
    public static final String PAIHANG_API = "http://tingapi.ting.baidu.com/v1/restserver/ting?format=json&calback=&from=webapp_music&method=baidu.ting.billboard.billList&size=10&offset=0&type=";

    public static final String PAIHANG_DETAIL_API = "http://tingapi.ting.baidu.com/v1/restserver/ting?format=json&calback=&from=webapp_music&method=baidu.ting.billboard.billList&size=10&offset=0&type=";

    //获取电台列表的api
    public static final String DIANTAI_API = "http://tingapi.ting.baidu.com/v1/restserver/ting?from=qianqian&version=2.1.0&method=baidu.ting.radio.getCategoryList&format=json";
    //获取对应电台歌曲的api
    public static final String DIANTAI_DETAIL_API = "http://tingapi.ting.baidu.com/v1/restserver/ting?from=qianqian&version=2.1.0&method=baidu.ting.radio.getChannelSong&format=json&pn=0&rn=10&channelname=";
                                                   // "http://tingapi.ting.baidu.com/v1/restserver/ting?from=qianqian&version=2.1.0&method=baidu.ting.radio.getChannelSong&format=json&pn=0&rn=10&channelname="
    public static final String SONG_PLAY_API="http://tingapi.ting.baidu.com/v1/restserver/ting?method=baidu.ting.song.play&songid=";
}